﻿using System.ComponentModel.DataAnnotations;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Models.Vendors;

public partial record ApplyVendorModel : BaseNopModel
{
    public ApplyVendorModel()
    {
        VendorAttributes = new List<VendorAttributeModel>();
    }

    [NopResourceDisplayName("Vendors.ApplyAccount.Name")]
    public string Name { get; set; }

    [DataType(DataType.EmailAddress)]
    [NopResourceDisplayName("Vendors.ApplyAccount.Email")]
    public string Email { get; set; }

    [NopResourceDisplayName("Vendors.ApplyAccount.Description")]
    public string Description { get; set; }

    public IList<VendorAttributeModel> VendorAttributes { get; set; }

    public bool DisplayCaptcha { get; set; }

    public bool TermsOfServiceEnabled { get; set; }
    public bool TermsOfServicePopup { get; set; }

    public bool DisableFormInput { get; set; }
    public string Result { get; set; }
}